# Contributor: Bartłomiej Piotrowski <nospam@bpiotrowski.pl>
# Maintainer:

pkgname=lxpanel
pkgver=0.9.3
pkgrel=1
pkgdesc='Lightweight X11 desktop panel'
arch='all'
url='https://lxde.org/'
license='GPL'
makedepends='gtk+2.0-dev alsa-lib-dev menu-cache-dev libwnck-dev
             wireless-tools-dev docbook-xml docbook-xsl intltool libfm-dev
	     linux-headers libxml2-dev keybinder-dev'
subpackages="$pkgname-doc $pkgname-dev $pkgname-lang"
source="https://downloads.sourceforge.net/sourceforge/lxde/$pkgname-$pkgver.tar.xz
	10-devproc-lxpanel-0.6.2.patch"

builddir="$srcdir"/${pkgname}-${pkgver}

build() {
	cd "$builddir"
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--disable-silent-rules
	make
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install
}

sha512sums="c6aea97f66ee1d576822fda0bf1aed3849b3c74bab856816b7d23331e48b26005f1ba12eddcc0abbf5a6f08add3cb4a0674ccd13f118cec0b6294edd6f1b2343  lxpanel-0.9.3.tar.xz
198174624d27198dc229a676d9cee1f56ee4528a5fd8dddf20ed474d3731c90e7f7ba706e3ffb8c8d0b200caece83aa0f3f365726fbf8ad6733996d2c9522914  10-devproc-lxpanel-0.6.2.patch"
